#include "student.h"

Student::Student()
{
    m_image.load(":/icon.png");
    m_image = m_image.scaled(QSize(60, 60));

    label = new QLabel();

    // 初始化图片
    loadLabelImage();
}

void Student::loadLabelImage()
{
    label->setFrameShape(QFrame::Box);
    label->setPixmap(m_image);
}
